package edu.uow.scsse.main.domain;
/**
 * Element Type In AgentSpeak
 * @author Tiancheng Zhang
 *
 */
public enum NodeType {
	/**START*/
	START(0),
	/**goal*/
	SUBGOAL(1),
	/**Alternative plan*/
	PLAN(2),
	/**simple action*/
	ACTION(3),
	/**context condition*/
	CONTEXT_CONDITION(4),
	/**Trigging Event*/
	TRIGGINGEVENT(5);
	
	/**type code*/
	private Integer code;
	
	/**
	 * Type constructor
	 */
	private NodeType(Integer code)
	{
		this.code = code;
	}
	
	/**
	 *get type code
	 */
	public Integer getCode()
	{
		return code;
	}
	
}
